package com.entities;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/*
 * 2019/3/10 21:51
 * by zhp
 */
@SuppressWarnings("serial")
@NoArgsConstructor
@Data
@Accessors(chain = true) // 使用lombok的链式风格
public class Dept implements Serializable {
    private Long deptno;
    private String dname;
    private String db_source;

    public Dept(String dname) {
        this.dname = dname;
    }
}
